package com.zlt.appparking.mapper;

import com.zlt.appparking.entity.DrivingLicense;
import com.zlt.appparking.entity.DrivingLicenseExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DrivingLicenseMapper {
    long countByExample(DrivingLicenseExample example);

    int deleteByExample(DrivingLicenseExample example);

    int deleteByPrimaryKey(Long dlId);

    int insert(DrivingLicense record);

    int insertSelective(DrivingLicense record);

    List<DrivingLicense> selectByExample(DrivingLicenseExample example);

    DrivingLicense selectByPrimaryKey(Long dlId);

    int updateByExampleSelective(@Param("record") DrivingLicense record, @Param("example") DrivingLicenseExample example);

    int updateByExample(@Param("record") DrivingLicense record, @Param("example") DrivingLicenseExample example);

    int updateByPrimaryKeySelective(DrivingLicense record);

    int updateByPrimaryKey(DrivingLicense record);
}